<?php  
  include("../includes/connect_db.php");
  include("../includes/core.php"); 

  $counter = $_POST['counter'];
?>

<div id="form-modal" class="modal hide fade modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  <div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
    <h3 id="myModalLabel">
      Invoice <?php echo $counter ?>
    </h3>
  </div>
  <div class="modal-body">
    <table class="table table-striped">
      <thead>
        <tr>
          <th>No</th>
          <th>Menu</th>
          <th>Quantity</th>
          <th>Price</th>
          <th>Total</th>
        </tr>
      </thead>
      <tbody>
        <tr class="resto_menu" data-id="">
          <td></td>
          <td>
          </td>
          <td>
            <input type="hidden" value="" class="jumlah">
          </td>
          <td>
            <input type="text" name="harga" class="harga" value="" style="width: auto;">
          </td>
          <td class="total">
          </td>
        </tr>
      </tbody>
      <tfoot>
        <tr style="font-weight: bold">
          <td colspan="4" style="text-align: right;">Grand Total</td>
          <td class="grand_total">
          </td>
        </tr>
      </tfoot>
    </table>
  </div>
</div>